"use strict";
function sum(x, y) {
    return x + y;
}
console.log(sum(2, 3));
function reverse(x) {
    if (typeof x === 'number') {
        return Number(x.toString().split('').reverse().join(''));
    }
    else if (typeof x === 'string') {
        return x.split('').reverse().join('');
    }
}
